<template>
  <div class="vue-box sbot" >
    <!-- ------- 内容部分 ------- -->
    <div class="c-panel">
      <el-form v-if="m" :inline="true">
        <sa-info name="序号" br>{{ m.id }}</sa-info>
        <sa-info type="text" name="资源名" :value="m.resourceName" br></sa-info>
        <sa-info type="enum" name="资源类型" :jv="dims.STAR_COMMENT_TARGET" :value="m.type" br />
        <sa-info type="text" name="发布人" :value="m.uname" br></sa-info>
        <sa-info type="text" name="评论内容" :value="m.note" br />
        <sa-info type="enum" name="审核状态" :jv="dims.AUDIT_STATUS" :value="m.status" br />
        <sa-info type="datetime" name="创建时间" :value="m.createTime" br />
      </el-form>
    </div>
  </div>
</template>

<script>
export default {
  name: 'ads-info',
  props: { param: Object },
  data() {
    return {
      id: this.param.id,
      dims: this.param.dims,
      sa: sa,
      m: this.param,
    }
  },
}
</script>

<style scoped>
</style>
